using System.Collections.Generic;

public class Table_CameraMoveItem
{
    /// <summary>
    /// 唯一ID
    /// <summary>
    public int Id { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Px { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Py { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Pz { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Rx { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Ry { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Rz { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Rw { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Sx { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Sy { get; private set; }
    /// <summary>
    /// 
    /// <summary>
    public float Sz { get; private set; }

    public Table_CameraMoveItem(ExcelLineReader reader)
    {
        Id = reader.ReadInt();
        Px = reader.ReadFloat();
        Py = reader.ReadFloat();
        Pz = reader.ReadFloat();
        Rx = reader.ReadFloat();
        Ry = reader.ReadFloat();
        Rz = reader.ReadFloat();
        Rw = reader.ReadFloat();
        Sx = reader.ReadFloat();
        Sy = reader.ReadFloat();
        Sz = reader.ReadFloat();
    }
}

public class Table_CameraMoveMgr : IDataMgr
{
    protected override string FileName { get { return "Txt/CameraMove.txt"; } }

    protected List<Table_CameraMoveItem> mItemList = new List<Table_CameraMoveItem>();
    public Table_CameraMoveItem GetItemByIdx(int idx)
    {
        return mItemList[idx];
    }
    public Table_CameraMoveItem GetItemById(int id)
    {
        int idx = GetIdxById(id);
        return GetItemByIdx(idx);
    }

    public override void Load(ExcelLineReader reader)
    {
        var item = new Table_CameraMoveItem(reader);
        mItemDic.Add(item.Id, mDataCount);
        mItemList.Add(item);
    }
}